package com.sd;

import java.util.Scanner;

public class wzq {

	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		int[][] pc = new int[4][2];

		char[][] qp = new char[10][10];

//		System.out.println(qp.length);
		// 布局棋盘
		for (int i = 0; i < qp.length; i++) {
			for (int j = 0; j < qp[i].length; j++) {
				qp[i][j] = '┼';
			}

		}

		// 输出棋盘
		for (int i = 0; i < qp.length; i++) {
			for (int j = 0; j < qp[i].length; j++) {
				System.out.print(qp[i][j]);
			}
			System.out.println();
		}

		int n = 2;
		while (n > 0) { // 人机，人先
			System.out.println("请输入坐标x:");
			int x = sc.nextInt();
			System.out.println("请输入坐标y:");
			int y = sc.nextInt();
			qp[x][y] = '●';
			n--;

		}

		// 输出棋盘
		for (int i = 0; i < qp.length; i++) {
			for (int j = 0; j < qp[i].length; j++) {
				System.out.print(qp[i][j]);
			}
			System.out.println();
		}
		
		
		
		
		

		
		
		
		

	}

}
